package C615;

import java.util.Scanner;

/**
 * @program: javase
 * @description: 判断一个数是否可以被二整除
 * @author: luolidong
 * @create: 2021-06-16 19:11
 * @version: 1.0
 */
public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int i = scanner.nextInt();
        if((i&(i-1))==0){
            System.out.println(true);
        }else {
            System.out.println(false);
        }
    }
}
